package com.imooc.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Asus on 2018/11/7.
 */
@Entity
@Data
public class ProductInfo {

    @Id
    private String productId;

    /**名字.*/
    private String productName;

    /**单价.*/
    private BigDecimal productPrice;

    /**库存.*/
    private Integer productStock;

    /**商品描述.*/
    private String productDescription;

    /**小图id.*/
    private String productIcon;

    /**商品状态,0正常1下架.*/
    private Integer productStatus;

    /**类目编号.*/
    private Integer categoryType;

  /*  *//**创建时间.*//*
    private Date createTime;

    *//**更新时间.*//*
    private Date updateTime;*/



}
